import axios, { url } from '.';

const getShot = async () => {
    let res = await axios({
        method: "get",
        url: url + "/shot/all"
    })
    return res.data;
}

const add = async (data) => {
    let res = await axios({
        method: "post",
        url: url + "/shot",
        data
    })
    return res.data;
}

export {
    getShot,
    add
}